
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>欢迎进入BBS论坛</title>
    </head>
    <body>
        <%
            String msg = request.getParameter("msg");
            if ("ok".equals(msg)) {
                response.sendRedirect("page.jsp");

            } else if ("error".equals(msg)) {
                out.print("登录失败！");
            }
        %>
        <form action="index.jsp">
            <button>返回上一步</button>
        </form>
    </body>
    </html>
